package cn.jieruoda.eb.user.domain.repository;

import cn.jieruoda.eb.user.domain.entity.UserTag;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface UserTagRepository extends JpaRepository<UserTag, Integer> {
    Optional<UserTag> findByName(String name);
} 